package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户仓库表
 * </p>
 *
 * @author LX
 * @since 2018-09-06
 */
@TableName("erp_customer_warehouse")
public class ErpCustomerWarehouse extends Model<ErpCustomerWarehouse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 仓库名
     */
    @TableField("war_name")
    private String warName;
    /**
     * 仓库地址
     */
    @TableField("war_address")
    private String warAddress;
    /**
     * 负责人
     */
    @TableField("war_head")
    private String warHead;
    /**
     * 电话
     */
    @TableField("war_phone")
    private String warPhone;
    /**
     * 录入人
     */
    @TableField("war_input")
    private String warInput;
    /**
     * 录入时间
     */
    @TableField("war_date")
    private String warDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getWarName() {
        return warName;
    }

    public void setWarName(String warName) {
        this.warName = warName;
    }

    public String getWarAddress() {
        return warAddress;
    }

    public void setWarAddress(String warAddress) {
        this.warAddress = warAddress;
    }

    public String getWarHead() {
        return warHead;
    }

    public void setWarHead(String warHead) {
        this.warHead = warHead;
    }

    public String getWarPhone() {
        return warPhone;
    }

    public void setWarPhone(String warPhone) {
        this.warPhone = warPhone;
    }

    public String getWarInput() {
        return warInput;
    }

    public void setWarInput(String warInput) {
        this.warInput = warInput;
    }

    public String getWarDate() {
        return warDate;
    }

    public void setWarDate(String warDate) {
        this.warDate = warDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerWarehouse{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", warName=" + warName +
        ", warAddress=" + warAddress +
        ", warHead=" + warHead +
        ", warPhone=" + warPhone +
        ", warInput=" + warInput +
        ", warDate=" + warDate +
        "}";
    }
}
